package com.zhongying.jf;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: liuhao
 */
public interface NotificationSendInterface {

    //广播--向安装该App的所有设备发送消息。
    public void sendBroadcast(String ticker, String title, String text, String after_open_default, String activity) throws Exception;

    //单播--向指定的设备发送消息
    public void sendUnicast(String ticker, String title, String text, String device_tokens, String after_open_default, String activity) throws Exception ;

    //向一组设备发送消息
    public void sendFilecast(String ticker, String title, String text, List<String> device_tokens, String after_open_default, String activity) throws Exception;

}
